/* 
 * File:   addTaskDialog.h
 * Author: Nicolas Proust & Pierre-Antoine Jahan
 *
 * Created on 6 février 2013, 13:30
 */

#ifndef _ADDTASKDIALOG_H
#define	_ADDTASKDIALOG_H

#include "ui_addTaskDialog.h"
#include "vue/accueil.h"
#include "modele/Task.h"

class addTaskDialog : public QDialog {
    Q_OBJECT
public:
    addTaskDialog(accueil* parent, Date d);
    addTaskDialog(accueil* parent, Task* t, Date d);
    virtual ~addTaskDialog();
    
public slots :
    void addTaskListener();
    void modifyTaskListener();
    void radioButtonCheckableListener();
    void comboBoxListener();
    void dateEditListener();
    void closePopupListener();
    void comboBoxRelativeListener();
    void boutonValidListener();
private:
    Ui::addTaskDialog widget;
    accueil *parent_;
    Task *task_;
};

#endif	/* _ADDTASKDIALOG_H */
